package com.cy.dda.service.collection;

import com.cy.dda.model.PageBean;
import com.cy.dda.model.domain.collection.RepayRecord;
import com.cy.dda.model.query.collection.RepayRecordListAdminQuery;
import com.cy.dda.model.query.collection.RepayRecordListQuery;
import com.cy.dda.model.vo.collection.CollectionRecordDetailInfoAdminVO;
import com.cy.dda.model.vo.collection.RepayRecordListAdminVO;
import com.cy.dda.model.vo.collection.RepayRecordListVO;

/**
 * 催收回款记录 RepayRecordService
 *
 * @author: tanyilin
 * @create: 2018年11月6日 上午10:25:15
 */
public interface RepayRecordService {

	/**
	 * 后台查询，回款记录列表
	 * 
	 * @param query
	 * @return
	 */
	PageBean<RepayRecordListAdminVO> selectRepayRecordListAdmin(RepayRecordListAdminQuery query);
	
	/**
	 * 更新回款记录信息
	 * 
	 * @param repayRecord
	 */
	void updateRepayRecord(RepayRecord repayRecord);
	
	/**
	 * 后台-查询回款记录信息详情
	 * 
	 * @param repayRecordId
	 * @return
	 */
	CollectionRecordDetailInfoAdminVO selectRepayRecordDetailInfoAdminVO(Long repayRecordId);
	
	/**
	 * 查询，前台回款记录列表
	 * 
	 * @param query
	 * @return
	 */
	PageBean<RepayRecordListVO> selectRepayRecordList(RepayRecordListQuery query);
}
